﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cxx.Entity;

namespace Cxx.IDAL
{
    public interface IStockDal
    {
        void Insert(List<StockInfo> infos);

        void Insert(StockInfo info);

        void Update(StockInfo info);

        StockInfo Get(string receiver, string tradeName);

        List<StockInfo> Get(string receiver);

        List<StockInfo> GetListForPage(string condition, int pageIndex, int pageSize, out int recordCount);

        void Delete(List<int> ids);

        void Delete(string receiver);
    }
}
